﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%--<x:parse xml="${param.xmlstr}" var="xmlData" />--%>

<div class="t_bar">经费预算</div>
<div style="position: absolute;right: 50px;top: 317px;"><strong>单位（万元）</strong></div>
<table class="t_css" width="100%" border="0" cellpadding="0"
       cellspacing="1" id="">
    <tr class="t_tr">
        <td align="left" width="100%" ><strong>一、资金预算</strong></td>
    </tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0"
       cellspacing="1" id="fundInfo_from">

    <tr class="t_tr">
        <td align="center" width="20%" rowspan="2"><strong>资金来源</strong></td>
        <td class="TblHead" align="center" width="20%" rowspan="2"><strong>预算金额</strong></td>
        <td class="TblHead" align="center" width="60%"  colspan="3"><strong>其中</strong></td>
    </tr>
    <tr>
        <td class="TblHead" align="center" ><strong><span name="budget/select_yea1">${param.statYear}</span>年</strong></td>
        <td class="TblHead" align="center" ><strong><span name="budget/select_yea2">${param.statYear+1}</span>年</strong></td>
        <td class="TblHead" align="center" ><strong><span name="budget/select_yea3">${param.statYear+2}</span>年</strong></td>
    </tr>
    <tr>
        <td align="left" style="padding-left:20px">1、省级财政专项资金</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail_from/invest[00]@invest_code" value="00" />
            <input type="hidden" name="budget/invest_detail_from/invest[00]/name" value="1、省级财政专项资金" />

            <input type="text" name="budget/invest_detail_from/invest[00]/total_each" id="total_each_0"
                   disabled="disabled" value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_each"/>"
                   class="gray  valueEqual:total_each_0:total_each_compare" onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   label="资金预算-->资金来源-->省级财政专项资金-->预算金额"/>

            <input type="hidden" name="budget/invest_detail_from/invest[00]/total_each_compare" id="total_each_compare"
                   disabled="disabled" value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_each_compare"/>"
                   class="gray" onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   label="资金预算-->资金来源-->省级财政专项资金-->${param.statYear}、${param.statYear+1}、${param.statYear+2}三年金额之和"/>

            <%-- <input type="hidden" name="budget/invest_detail_from/invest[00]/total_investfrom" id="total_investfrom_0"
                    label="省财政拨款-->预算金额"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_investfrom" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','investfrom_0,investfrom_1,investfrom_2,investfrom_4','investfrom_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');"
                   /> --%>
        </td>

        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[00]/total_invest_yea1" id="total_invest_yea1_0"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_invest_yea1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                           countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                            /* countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[00]/total_invest_yea2" id="total_invest_yea2_0"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_invest_yea2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[00]/total_invest_yea3" id="total_invest_yea3_0"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_invest_yea3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                            /* countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>

    </tr>
    <%--<tr>
        <td align="left" style="padding-left:20px">2、市（县）财政拨款</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail_from/invest[01]@invest_code" value="01" />
            <input type="hidden" name="budget/invest_detail_from/invest[01]/name" value="2、市（县）财政拨款" />

            <input type="text" name="budget/invest_detail_from/invest[01]/total_each" id="total_each_1"
                   disabled="disabled" value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_each"/>"
                   class="gray " onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   label="市（县）财政拨款-->预算金额"/>

            &lt;%&ndash; <input type="hidden" name="budget/invest_detail_from/invest[01]/total_investfrom" id="total_investfrom_1"
                    label="市（县）财政拨款-->预算金额"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_investfrom" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                       onchange="countFundAuto('total_','investfrom_0,investfrom_1,investfrom_2,investfrom_4','investfrom_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');"
                   /> &ndash;%&gt;
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[01]/total_invest_yea1" id="total_invest_yea1_1"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_invest_yea1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[01]/total_invest_yea2" id="total_invest_yea2_1"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_invest_yea2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                            /* countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[01]/total_invest_yea3" id="total_invest_yea3_1"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_invest_yea3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>

    </tr>--%>
    <tr>
        <td align="left" style="padding-left:20px">2、单位自筹资金</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail_from/invest[02]@invest_code" value="02" />
            <input type="hidden" name="budget/invest_detail_from/invest[02]/name" value="2、单位自筹资金" />

            <input type="text" name="budget/invest_detail_from/invest[02]/total_each" id="total_each_2"
                   disabled="disabled" value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_each"/>"
                   class="gray " onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   label="资金预算-->资金来源-->单位自筹资金-->预算金额"/>

            <%-- <input type="text" name="budget/invest_detail_from/invest[02]/total_investfrom" id="total_investfrom_2"
                    label="单位自筹资金-->预算金额"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_investfrom" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                       onchange="countFundAuto('total_','investfrom_0,investfrom_1,investfrom_2,investfrom_4','investfrom_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');"
                   /> --%>
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[02]/total_invest_yea1" id="total_invest_yea1_2"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_invest_yea1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金预算-->资金来源-->${param.statYear}年-->单位自筹资金"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[02]/total_invest_yea2" id="total_invest_yea2_2"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_invest_yea2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金预算-->资金来源-->${param.statYear+1}年-->单位自筹资金"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[02]/total_invest_yea3" id="total_invest_yea3_2"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_invest_yea3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金预算-->资金来源-->${param.statYear+2}年-->单位自筹资金"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>

    </tr>
    <%--<tr>
        <td align="left" style="padding-left:40px">其中：银行贷款</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail_from/invest[03]@invest_code" value="03" />
            <input type="hidden" name="budget/invest_detail_from/invest[03]/name" value="其中：银行贷款" />

            <input type="text" name="budget/invest_detail_from/invest[03]/total_each" id="total_each_3"
                   disabled="disabled" value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_each"/>"
                   class="gray &lt;%&ndash;valueGreatEqual:total_each_2:total_each_3&ndash;%&gt;" onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   label="资金预算-->资金来源预算-->其中：银行贷款-->预算金额"/>

            &lt;%&ndash; <input type="text" name="budget/invest_detail_from/invest[03]/total_investfrom" id="total_investfrom_3"
                   class="valueGreatEqual:total_investfrom_2:total_investfrom_3" label="其中：银行贷款-->预算金额"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_investfrom" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                       onchange="countFundAuto('total_','investfrom_0,investfrom_1,investfrom_2,investfrom_4','investfrom_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');"
                   /> &ndash;%&gt;
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[03]/total_invest_yea1" id="total_invest_yea1_3"
                   style="text-align:right; width:80%;"  class="valueGreatEqual:total_invest_yea1_2:total_invest_yea1_3"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_invest_yea1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"  label="资金预算-->资金来源预算-->${param.statYear}年-->其中：银行贷款"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[03]/total_invest_yea2" id="total_invest_yea2_3"
                   style="text-align:right; width:80%;" class="valueGreatEqual:total_invest_yea2_2:total_invest_yea2_3"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_invest_yea2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="资金预算-->资金来源预算-->${param.statYear+1}年-->其中：银行贷款"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[03]/total_invest_yea3" id="total_invest_yea3_3"
                   style="text-align:right; width:80%;" class="valueGreatEqual:total_invest_yea3_2:total_invest_yea3_3"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_invest_yea3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="资金预算-->资金来源预算-->${param.statYear+2}年-->其中：银行贷款"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>

    </tr>--%>
    <tr>
        <td align="left" style="padding-left:20px">3、其它资金来源</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail_from/invest[04]@invest_code" value="04" />
            <input type="hidden" name="budget/invest_detail_from/invest[04]/name" value="3、其它资金来源" />

            <input type="text" name="budget/invest_detail_from/invest[04]/total_each" id="total_each_4"
                   disabled="disabled" value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_each"/>"
                   class="gray valueGreatEqual:total_investfrom_4:total_each_4" onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                   label="资金预算-->资金来源-->其它资金来源-->预算金额"/>

            <%-- <input type="text" name="budget/invest_detail_from/invest[04]/total_investfrom" id="total_investfrom_4"
                    label="其它经费来源-->预算金额"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_investfrom" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                       onchange="countFundAuto('total_','investfrom_0,investfrom_1,investfrom_2,investfrom_4','investfrom_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');"
                   /> --%>
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[04]/total_invest_yea1" id="total_invest_yea1_4"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_invest_yea1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                             /*countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[04]/total_invest_yea2" id="total_invest_yea2_4"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_invest_yea2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                            /* countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[04]/total_invest_yea3" id="total_invest_yea3_4"
                   style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_invest_yea3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="
                             countFundAuto('total_','invest_yea1_0,invest_yea1_1,invest_yea1_2,invest_yea1_4','invest_yea1_5');
                             countFundAuto('total_','invest_yea2_0,invest_yea2_1,invest_yea2_2,invest_yea2_4','invest_yea2_5');
                             countFundAuto('total_','invest_yea3_0,invest_yea3_1,invest_yea3_2,invest_yea3_4','invest_yea3_5');
                             countFundAuto('total_','invest_yea4_0,invest_yea4_1,invest_yea4_2,invest_yea4_4','invest_yea4_5');
                             countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0,invest_yea4_0','each_compare');
                            /* countFundAuto('total_','invest_yea1_0,invest_yea2_0,invest_yea3_0','each_0');*/
                             countFundAuto('total_','invest_yea1_1,invest_yea2_1,invest_yea3_1,invest_yea4_1','each_1');
                             countFundAuto('total_','invest_yea1_2,invest_yea2_2,invest_yea3_2,invest_yea4_2','each_2');
                          countFundAuto('total_','invest_yea1_3,invest_yea2_3,invest_yea3_3,invest_yea4_3','each_3');
                             countFundAuto('total_','invest_yea1_4,invest_yea2_4,invest_yea3_4,invest_yea4_4','each_4');
                             countFundAuto('total_','each_0,each_1,each_2,each_4','investfrom_5');"
            />
        </td>

    </tr>
    <tr>
        <td align="center"><strong>来源合计</strong></td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail_from/invest[05]@invest_code" value="05" />
            <input type="hidden" name="budget/invest_detail_from/invest[05]/name" value="来源合计" />
            <input type="text" name="budget/invest_detail_from/invest[05]/total_investfrom" id="total_investfrom_5"
                   class="gray "   disabled label="资金预算-->资金来源-->来源合计-->预算金额"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='05']/total_investfrom" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
            />

        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[05]/total_invest_yea1" id="total_invest_yea1_5"
                   class="gray" disabled label="经费预算-->资金预算-->资金来源-->${param.statYear}年来源合计"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='05']/total_invest_yea1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[05]/total_invest_yea2" id="total_invest_yea2_5"
                   class="gray" disabled label="经费预算-->资金预算-->资金来源-->${param.statYear+1}年来源合计"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='05']/total_invest_yea2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
            />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail_from/invest[05]/total_invest_yea3" id="total_invest_yea3_5"
                   class="gray" disabled label="经费预算-->资金预算-->资金来源-->${param.statYear+2}年来源合计"  style="text-align:right; width:80%;"
                   value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='05']/total_invest_yea3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"
            />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" border="0" cellpadding="0"
       cellspacing="1" id="fundInfo">
    <tr class="t_tr">
        <td align="left" width="20%"><strong>二、资金支出</strong></td>
        <td class="TblHead" align="center" width="20%"><strong>合计</strong></td>
        <td class="TblHead" align="center" width="20%"><strong>省级财政专项资金</strong></td>
        <td class="TblHead" align="center" width="20%"><strong>单位自筹资金</strong></td>
        <td class="TblHead" align="center" width="20%"><strong>其它资金来源</strong></td>
    </tr>
    <tr >
        <td align="left" style=""><strong>（一）直接费用</strong></td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[00]@invest_code" value="00" />
            <input type="hidden" name="budget/invest_detail/invest[00]/name" value="（一）直接费用" />
            <input type="text" name="budget/invest_detail/invest[00]/total_invest" id="total_invest_0"
                   class="gray" disabled label="经费预算-->资金支出-->直接费用-->合计"  style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_invest" />" />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[00]/total_fund" id="total_fund_0"
                   class="gray" disabled label="经费预算-->资金支出-->直接费用-->省级财政专项资金"  style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[00]/total_company" id="total_company_0"
                   label="经费预算-->资金支出-->直接费用-->单位自筹资金"  disabled="disabled" class="gray" style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_company" />" />
        </td>

        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[00]/total_other" id="total_other_0"
                   label="经费预算-->资金支出-->直接费用-->其它资金来源"  disabled="disabled" class="gray" style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_other" />" />
        </td>
        <!-- <td align="center">/</td> -->
    </tr>
    <tr >
        <td align="left" style="padding-left:20px">1、设备费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[01]@invest_code" value="01" />
            <input type="hidden" name="budget/invest_detail/invest[01]/name" value="1、设备费" />
            <input type="text" name="budget/invest_detail/invest[01]/total_invest" id="total_invest_1"
                   class="gray" disabled label="经费预算-->资金支出-->直接费用-->设备费-->合计"  style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_invest" />" />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[01]/total_fund" id="total_fund_1"
                   class="gray" disabled label="经费预算-->资金支出-->直接费用-->设备费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[01]/total_company" id="total_company_1" class="gray" disabled
                   label="经费预算-->资金支出-->直接费用-->设备费-->单位自筹资金"  maxlength="50" style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_company" />"
            />
        </td>

        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[01]/total_other" id="total_other_1" class="gray" disabled
                   label="经费预算-->资金支出-->直接费用-->设备费-->其它资金来源"  maxlength="50" style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_other" />"
            />
        </td>

    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（1）购置设备费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[02]@invest_code" value="02" />
            <input type="hidden" name="budget/invest_detail/invest[02]/name" value="（1）购置设备费" />
            <input type="text" name="budget/invest_detail/invest[02]/total_invest" id="total_invest_2"
                   onfocus="InitInput.setNumber(this,9,2,2)" class=" gray" disabled
                   label="经费预算-->资金支出-->直接费用-->购置设备费-->合计"  style="text-align:right; width:150px;"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_invest" />"/>
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[02]/total_fund" id="total_fund_2"
                   label="经费预算-->资金支出-->直接费用-->购置设备费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				    countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				    countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text" style="text-align:right; width:150px;" name="budget/invest_detail/invest[02]/total_company" id="total_company_2"
                   label="经费预算-->资金支出-->直接费用-->购置设备费-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_company" />" />
        </td>

        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[02]/total_other" id="total_other_2"
                   label="经费预算-->资金支出-->直接费用-->购置设备费-->其它资金来源" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"  onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_other" />" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（2）自制设备费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[03]@invest_code"  value="03">
            <input type="hidden" name="budget/invest_detail/invest[03]/name" value="（2）自制设备费">
            <input type="text" name="budget/invest_detail/invest[03]/total_invest" id="total_invest_3"
                   onfocus="InitInput.setNumber(this,9,2,2)" class="gray" disabled
                   label="经费预算-->资金支出-->直接费用-->自制设备费-->合计"  style="text-align:right; width:150px;"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_invest" />"/>
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[03]/total_fund" id="total_fund_3"
                   label="经费预算-->资金支出-->直接费用-->自制设备费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[03]/total_company" id="total_company_3"
                   label="经费预算-->资金支出-->直接费用-->自制设备费-->单位自筹资金"    onfocus="InitInput.setNumber(this,9,2,2)" class="" style="text-align:right; width:150px;"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[03]/total_other" id="total_other_3"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   label="经费预算-->资金支出-->直接费用-->自制设备费-->其它资金来源"   onfocus="InitInput.setNumber(this,9,2,2)" class="" style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_other" />"/>
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（3）设备改造与租赁</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[04]@invest_code"  value="04">
            <input type="hidden" name="budget/invest_detail/invest[04]/name" value="（3）设备改造与租赁">
            <input type="text" name="budget/invest_detail/invest[04]/total_invest" id="total_invest_4"
                   onfocus="InitInput.setNumber(this,9,2,2)" class="gray" disabled
                   label="经费预算-->资金支出-->直接费用-->设备改造与租赁-->合计"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_invest" />"    />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[04]/total_fund" id="total_fund_4"
                   label="经费预算-->资金支出-->直接费用-->设备改造与租赁-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[04]/total_company" id="total_company_4" style="text-align:right; width:150px;"
                   label="经费预算-->资金支出-->直接费用-->设备改造与租赁-->单位自筹资金"  onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_company" />"  />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[04]/total_other" id="total_other_4" style="text-align:right; width:150px;"
                   label="经费预算-->资金支出-->直接费用-->设备改造与租赁-->其它资金来源"  onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_other" />"  />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:20px">2、材料费、测试化验加工费、燃料动力费、出版/文献/信息传播/知识产权事务费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[05]@invest_code"  value="05">
            <input type="hidden" name="budget/invest_detail/invest[05]/name" value="2、材料费">
            <input type="text" name="budget/invest_detail/invest[05]/total_invest" id="total_invest_5"
                   label="经费预算-->资金支出-->直接费用-->材料费、测试化验加工费、燃料动力费、出版/文献/信息传播/知识产权事务费-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"  class=" gray" disabled
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[05]/total_fund" id="total_fund_5"
                   label="经费预算-->资金支出-->直接费用-->材料费、测试化验加工费、燃料动力费、出版/文献/信息传播/知识产权事务费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" class="gray" disabled
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[05]/total_company" id="total_company_5" style="text-align:right; width:150px;" class="gray" disabled
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->材料费、测试化验加工费、燃料动力费、出版/文献/信息传播/知识产权事务费-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[05]/total_other" id="total_other_5" style="text-align:right; width:150px;" class="gray" disabled
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->材料费、测试化验加工费、燃料动力费、出版/文献/信息传播/知识产权事务费-->其它资金来源"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_other" />"/>
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（1）材料费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[06]@invest_code"  value="06">
            <input type="hidden" name="budget/invest_detail/invest[06]/name" value="3、材料费">
            <input type="text" name="budget/invest_detail/invest[06]/total_invest" id="total_invest_6"
                   label="经费预算-->资金支出-->直接费用-->材料费-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align:right; width:150px;" class=" gray" disabled
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[06]/total_fund" id="total_fund_6"
                   label="经费预算-->资金支出-->直接费用-->材料费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[06]/total_company"  id="total_company_6" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->材料费-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[06]/total_other"  id="total_other_6" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->材料费-->其它资金来源"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_other" />"/>
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（2）测试化验加工费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[07]@invest_code"  value="07">
            <input type="hidden" name="budget/invest_detail/invest[07]/name" value="（2）测试化验加工费">
            <input type="text" name="budget/invest_detail/invest[07]/total_invest" id="total_invest_7"
                   label="经费预算-->资金支出-->直接费用-->测试化验加工费-->合计"  onfocus="InitInput.setNumber(this,9,2,2)" class=" gray" disabled
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"  />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[07]/total_fund" id="total_fund_7"
                   label="经费预算-->资金支出-->直接费用-->测试化验加工费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[07]/total_company"  id="total_company_7" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->测试化验加工费-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[07]/total_other"  id="total_other_7" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->测试化验加工费-->其它资金来源"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_other" />"/>
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（3）燃料动力费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[08]@invest_code"  value="08">
            <input type="hidden" name="budget/invest_detail/invest[08]/name" value="燃料动力费">
            <input type="text" name="budget/invest_detail/invest[08]/total_invest" id="total_invest_8"
                   label="经费预算-->资金支出-->直接费用-->燃料动力费-->合计"
                   onfocus="InitInput.setNumber(this,9,2,2)" class=" gray" disabled
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"  />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[08]/total_fund" id="total_fund_8"
                   label="经费预算-->资金支出-->直接费用-->燃料动力费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[08]/total_company"  id="total_company_8" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->燃料动力费-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[08]/total_other"  id="total_other_8" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->燃料动力费-->其它资金来源"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_other" />"/>
        </td>
    </tr>

    <tr >
        <td align="left" style="padding-left:40px">（4）出版/文献/信息传播<br/>&nbsp;&nbsp;&nbsp;&nbsp;/知识产权事务费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[11]@invest_code"  value="11">
            <input type="hidden" name="budget/invest_detail/invest[11]/name" value="出版/文献/信息传播/知识产权事务费">
            <input type="text" name="budget/invest_detail/invest[11]/total_invest" id="total_invest_11"
                   label="经费预算-->资金支出-->直接费用-->出版/文献/信息传播/知识产权事务费等-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align:right; width:150px;" class=" gray" disabled
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"  />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[11]/total_fund" id="total_fund_11"
                   label="经费预算-->资金支出-->直接费用-->出版/文献/信息传播/知识产权事务费等-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[11]/total_company" id="total_company_11" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->出版/文献/信息传播/知识产权事务费等-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  name="budget/invest_detail/invest[11]/total_other" id="total_other_11" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->出版/文献/信息传播/知识产权事务费等-->其它资金来源"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_other" />"/>
        </td>
    </tr>


    <tr >
        <td align="left" style="padding-left:20px">3、劳务费、专家咨询费、会议/差旅/国际合作交流费、其他支出</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[12]@invest_code"  value="12">
            <input type="hidden" name="budget/invest_detail/invest[12]/name" value="9、专家咨询费">
            <input type="text" name="budget/invest_detail/invest[12]/total_invest" id="total_invest_12"
                   label="经费预算-->资金支出-->直接费用-->劳务费、专家咨询费、会议/差旅/国际合作交流费、其他支出-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"  class="gray" disabled
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[12]/total_fund" id="total_fund_12"
                   label="经费预算-->资金支出-->直接费用-->劳务费、专家咨询费、会议/差旅/国际合作交流费、其他支出-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class="gray" disabled
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  id="total_company_12"  name="budget/invest_detail/invest[12]/total_company" style="text-align:right; width:150px;" class="gray" disabled
                   onfocus="InitInput.setNumber(this,9,2,2)" label="资金预算-->资金支出-->劳务费、专家咨询费、会议/差旅/国际合作交流费、其他支出-->专家咨询费-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  id="total_other_12"  name="budget/invest_detail/invest[12]/total_other" style="text-align:right; width:150px;"   class="gray" disabled
                   onfocus="InitInput.setNumber(this,9,2,2)" label="资金预算-->资金支出-->劳务费、专家咨询费、会议/差旅/国际合作交流费、其他支出-->专家咨询费-->其它资金来源"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_other" />"/>
        </td>
    </tr>

    <tr >
        <td align="left" style="padding-left:40px">（1）劳务费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[13]@invest_code"  value="13">
            <input type="hidden" name="budget/invest_detail/invest[13]/name" value="（1）劳务费">
            <input type="text" name="budget/invest_detail/invest[13]/total_invest" id="total_invest_13"
                   label="经费预算-->资金支出-->直接费用-->劳务费-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align:right; width:150px;" class="gray" disabled
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"  />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[13]/total_fund" id="total_fund_13"
                   label="经费预算-->资金支出-->直接费用-->劳务费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  id="total_company_13"  name="budget/invest_detail/invest[13]/total_company" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->劳务费-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  id="total_other_13"  name="budget/invest_detail/invest[13]/total_other" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->直接费用-->劳务费-->其它资金来源"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_other" />"/>
        </td>
    </tr>

    <tr >
        <td align="left" style="padding-left:40px">（2）专家咨询费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[14]@invest_code"  value="14">
            <input type="hidden" name="budget/invest_detail/invest[14]/name" value="（2）专家咨询费">
            <input type="text" name="budget/invest_detail/invest[14]/total_invest" id="total_invest_14"
                   label="经费预算-->资金支出-->直接费用-->专家咨询费-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"  class="gray" disabled
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"  />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[14]/total_fund" id="total_fund_14"
                   label="经费预算-->资金支出-->直接费用-->专家咨询费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class="" onfocus="InitInput.setNumber(this,9,2,2)"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  id="total_company_14"  name="budget/invest_detail/invest[14]/total_company" style="text-align:right; width:150px;"
                   label="经费预算-->资金支出-->直接费用-->专家咨询费-->单位自筹资金" onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  id="total_other_14"  name="budget/invest_detail/invest[14]/total_other" style="text-align:right; width:150px;"
                   label="经费预算-->资金支出-->直接费用-->专家咨询费-->其它资金来源" onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_other" />"/>
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（3）会议/差旅/国际合作交流费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[15]@invest_code"  value="15">
            <input type="hidden" name="budget/invest_detail/invest[15]/name" value="（3）会议/差旅/国际合作交流费">
            <input type="text" name="budget/invest_detail/invest[15]/total_invest" id="total_invest_15"
                   label="经费预算-->资金支出-->直接费用-->会议/差旅/国际合作交流费-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"  class=" gray" disabled
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"  />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[15]/total_fund" id="total_fund_15"
                   label="经费预算-->资金支出-->直接费用-->会议/差旅/国际合作交流费-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class="" onfocus="InitInput.setNumber(this,9,2,2)"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  id="total_company_15"  name="budget/invest_detail/invest[15]/total_company" style="text-align:right; width:150px;"
                   label="经费预算-->资金支出-->直接费用-->会议/差旅/国际合作交流费-->单位自筹资金" onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  id="total_other_15"  name="budget/invest_detail/invest[15]/total_other" style="text-align:right; width:150px;"
                   label="经费预算-->资金支出-->直接费用-->会议/差旅/国际合作交流费-->其它资金来源" onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_other" />"/>
        </td>
    </tr>

    <tr >
        <td align="left" style="padding-left:40px">（4）其他支出</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[16]@invest_code"  value="16">
            <input type="hidden" name="budget/invest_detail/invest[16]/name" value="其他支出">
            <input type="text" name="budget/invest_detail/invest[16]/total_invest" id="total_invest_16"
                   label="经费预算-->资金支出-->直接费用-->其他支出-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"  class=" gray" disabled
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_invest" />"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"  />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[16]/total_fund" id="total_fund_16"
                   label="经费预算-->资金支出-->直接费用-->其他支出-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');" class="" onfocus="InitInput.setNumber(this,9,2,2)"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  id="total_company_16"  name="budget/invest_detail/invest[16]/total_company" style="text-align:right; width:150px;"
                   label="经费预算-->资金支出-->直接费用-->其他支出-->单位自筹资金" onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  id="total_other_16"  name="budget/invest_detail/invest[16]/total_other" style="text-align:right; width:150px;"
                   label="经费预算-->资金支出-->直接费用-->其他支出-->其它资金来源" onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_other" />"/>
        </td>
    </tr>

    <tr >
        <td align="left" style=""><strong>（二）间接费用</strong></td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[17]@invest_code"  value="17">
            <input type="hidden" name="budget/invest_detail/invest[17]/name" value="二、间接费用">
            <input type="text" name="budget/invest_detail/invest[17]/total_invest" id="total_invest_17"
                   class="gray" disabled = "disabled" label="经费预算-->资金支出-->间接费用-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align:right; width:150px;"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_invest" />" />
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[17]/total_fund" id="total_fund_17"
                   label="经费预算-->资金支出-->间接费用-->省级财政专项资金"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_fund" />" />
        </td>

        <td align="center">
            <input type="text"  id="total_company_17"  name="budget/invest_detail/invest[17]/total_company" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->间接费用-->单位自筹资金"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');

				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  id="total_other_17"  name="budget/invest_detail/invest[17]/total_other" style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)" label="经费预算-->资金支出-->间接费用-->其它资金来源"
                   onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				   countFundAuto('total_','invest_6,invest_7,invest_8,invest_11','invest_5');
				    countFundAuto('total_','invest_13,invest_14,invest_15,invest_16','invest_12');
				      countFundAuto('total_','invest_1,invest_5,invest_12','invest_0');
				      countFundAuto('total_','invest_0,invest_17','invest_18');
				    countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				   countFundAuto('total_','fund_6,fund_7,fund_8,fund_11','fund_5');
				    countFundAuto('total_','fund_13,fund_14,fund_15,fund_16','fund_12');
				    countFundAuto('total_','fund_1,fund_5,fund_12','fund_0');
				      countFundAuto('total_','fund_0,fund_17','fund_18');
				    countFundAuto('total_','company_2,company_3,company_4','company_1');
				   countFundAuto('total_','company_6,company_7,company_8,company_11','company_5');
				    countFundAuto('total_','company_13,company_14,company_15,company_16','company_12');
				     countFundAuto('total_','company_1,company_5,company_12','company_0');
                        countFundAuto('total_','company_0,company_17','company_18');
				     countFundAuto('total_','other_2,other_3,other_4','other_1');
				   countFundAuto('total_','other_6,other_7,other_8,other_11','other_5');
				    countFundAuto('total_','other_13,other_14,other_15,other_16','other_12');
                     countFundAuto('total_','other_1,other_5,other_12','other_0');
                      countFundAuto('total_','other_0,other_17','other_18');
                        countFundAuto('total_','fund_0,company_0,other_0','invest_0');
                        countFundAuto('total_','fund_1,company_1,other_1','invest_1');
                        countFundAuto('total_','fund_2,company_2,other_2','invest_2');
                        countFundAuto('total_','fund_3,company_3,other_3','invest_3');
                        countFundAuto('total_','fund_4,company_4,other_4','invest_4');
                        countFundAuto('total_','fund_5,company_5,other_5','invest_5');
                        countFundAuto('total_','fund_6,company_6,other_6','invest_6');
                        countFundAuto('total_','fund_7,company_7,other_7','invest_7');
                        countFundAuto('total_','fund_8,company_8,other_8','invest_8');
                        countFundAuto('total_','fund_9,company_9,other_9','invest_9');
                        countFundAuto('total_','fund_10,company_10,other_10','invest_10');
                        countFundAuto('total_','fund_11,company_11,other_11','invest_11');
                        countFundAuto('total_','fund_12,company_12,other_12','invest_12');
                        countFundAuto('total_','fund_13,company_13,other_13','invest_13');
                        countFundAuto('total_','fund_14,company_14,other_14','invest_14');
                        countFundAuto('total_','fund_15,company_15,other_15','invest_15');
                        countFundAuto('total_','fund_16,company_16,other_16','invest_16');
                         countFundAuto('total_','fund_17,company_17,other_17','invest_17');
                       countFundAuto('total_','fund_18,company_18,other_18','invest_compare');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_other" />"/>
        </td>
    </tr>
    <%--<tr >
        <td align="left" style="padding-left:20px">1、管理费</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[16]@invest_code"  value="16">
            <input type="hidden" name="budget/invest_detail/invest[16]/name" value="1、管理费">
            <input type="text" name="budget/invest_detail/invest[16]/total_invest" id="total_invest_16"
                   label="资金预算-->资金支出-->间接费用-->管理费-->预算金额"  onfocus="InitInput.setNumber(this,9,2,2)"  class=" valueGreatEqual:total_invest_16:total_fund_16"
                   onchange="countFundAuto('total_','invest_16,invest_17,invest_19','invest_15');countFundAuto('total_','invest_0,invest_15','invest_18');"
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_invest" />"/>
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[16]/total_fund" id="total_fund_16"
                   label="资金预算-->资金支出-->间接费用-->管理费-->其中：省财政拨款"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','fund_16,fund_17,fund_19','fund_15');countFundAuto('total_','fund_0,fund_15','fund_18');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  id="total_allot_16"  name="budget/invest_detail/invest[16]/total_allot"
                   maxlength="50" label="资金预算-->资金支出-->间接费用-->管理费-->备注"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_allot" />"/>
        </td>
    </tr>

    <tr >
        <td align="left" style="padding-left:20px">2、绩效支出</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[17]@invest_code"  value="17">
            <input type="hidden" name="budget/invest_detail/invest[17]/name" value="2、绩效支出">
            <input type="text" name="budget/invest_detail/invest[17]/total_invest" id="total_invest_17"
                   label="资金预算-->资金支出-->间接费用-->绩效支出-->预算金额"  onfocus="InitInput.setNumber(this,9,2,2)"  class=" valueGreatEqual:total_invest_17:total_fund_17"
                   onchange="countFundAuto('total_','invest_16,invest_17,invest_19','invest_15');countFundAuto('total_','invest_0,invest_15','invest_18');"
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_invest" />"/>
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[17]/total_fund" id="total_fund_17"
                   label="资金预算-->间接费用-->绩效支出-->其中：省财政拨款"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','fund_16,fund_17,fund_19','fund_15');countFundAuto('total_','fund_0,fund_15','fund_18');" class=""
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  id="total_allot_17"  name="budget/invest_detail/invest[17]/total_allot"
                   maxlength="50" label="资金预算-->资金支出-->间接费用-->绩效支出-->备注"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_allot" />"/>
        </td>
    </tr>

    <tr >
        <td align="left" style="padding-left:20px">3、其他</td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[19]@invest_code"  value="19">
            <input type="hidden" name="budget/invest_detail/invest[19]/name" value="3、其他">
            <input type="text" name="budget/invest_detail/invest[19]/total_invest" id="total_invest_19"
                   label="资金预算-->资金支出-->间接费用-->其他-->预算金额"  onfocus="InitInput.setNumber(this,9,2,2)"  class=" valueGreatEqual:total_invest_19:total_fund_19"
                   onchange="countFundAuto('total_','invest_16,invest_17,invest_19','invest_15');countFundAuto('total_','invest_0,invest_15','invest_18');"
                   style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='19']/total_invest" />"/>
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[19]/total_fund" id="total_fund_19"
                   label="资金预算-->资金支出-->间接费用-->其他-->其中：省财政拨款"  style="text-align:right; width:150px;"
                   onfocus="InitInput.setNumber(this,9,2,2)"
                   onchange="countFundAuto('total_','fund_16,fund_17,fund_19','fund_15');countFundAuto('total_','fund_0,fund_15','fund_18');"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='19']/total_fund" />" />
        </td>
        <td align="center">
            <input type="text"  id="total_allot_19"  name="budget/invest_detail/invest[19]/total_allot"
                   maxlength="50" label="资金预算-->资金支出-->间接费用-->其他-->备注"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='19']/total_allot" />"/>
        </td>
    </tr>--%>

    <tr>
        <td align="center" ><strong>支出合计</strong></td>
        <td align="center">
            <input type="hidden" name="budget/invest_detail/invest[18]@invest_code"  value="18">
            <input type="hidden" name="budget/invest_detail/invest[18]/name" value="支出合计">
            <input type="text" name="budget/invest_detail/invest[18]/total_invest" id="total_invest_18"
                   label="资金支出-->支出合计-->合计"  onfocus="InitInput.setNumber(this,9,2,2)"
                   style="text-align:right; width:150px;"
                   class="gray valueEqual:total_invest_18:total_investfrom_5"  disabled
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_invest" />" />

            <%-- <input type="hidden" name="budget/invest_detail_from/invest[18]/total_invest_compare" id="total_invest_compare"
                    disabled="disabled" value="<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='18']/total_invest_compare"/>"
                    class="gray" onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;width: 80%"
                    label="经费预算-->资金支出-->支出合计-->直接费用和间接费用之和"/>--%>
        </td>
        <td align="center">
            <input type="text" name="budget/invest_detail/invest[18]/total_fund" id="total_fund_18"
                   class="gray valueEqual:total_fund_18:total_each_0" disabled label="资金支出-->支出合计-->省级财政专项资金"  style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_fund" />" />
        </td>
        <%--<td align="center">
            <input type="text" name="budget/invest_detail/invest[18]/total_fund" id="total_fund_18"
                   class="gray valueEqual:total_fund_18:total_fund_compare" disabled label="资金支出-->支出合计-->其中：省财政拨款"  style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_fund" />" />
            <input type="hidden" name="budget/invest_detail/invest[18]/total_fund_compare" id="total_fund_compare"
                   class="gray" disabled label="资金支出-->直接费用、间接费用-->其中：省财政拨款之和"  style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_fund_compare" />" />
        </td>--%>

        <td align="center">
            <input type="text"  id="total_company_18"  name="budget/invest_detail/invest[18]/total_company"
                   label="资金支出-->支出合计-->单位自筹资金"  disabled="disabled" class="gray valueEqual:total_company_18:total_each_2" style="text-align:right; width:150px;"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_company" />"/>
        </td>
        <td align="center">
            <input type="text"  id="total_other_18"  name="budget/invest_detail/invest[18]/total_other"
                   style="text-align:right; width:150px;" label="资金支出-->支出合计-->其它资金来源"  disabled="disabled" class="gray valueEqual:total_other_18:total_each_4"
                   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_other" />"/>
        </td>
    </tr>
</table>
<div class="t_bar"><span class="color_red">*</span>预算说明（建议2000字以内）</div>
<table id="tbl" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
    <col style="width:34%"/>
    <col style="width:40%"/>
    <col style="width:13%"/>
    <col style="width:13%"/>
    <tr>
       <%-- <td style="width:100%;">
            <p>根据《安徽省重点研究与开发计划资金管理办法》(财教〔2016〕2150号)、《关于优化省重点研究与开发计划、省科技重大专项、省自然科学基金资助项目等科研资金管理的通知》（皖财教〔2019〕839号）等有关规定和要求，参照项目经费预算申报内容，对本项目直接费用进行说明，间接费用无需说明；按照项目资金支出进行说明，不需要按照合作单位分别说明，项目承担单位与合作单位应协商确定本项目各科目预算的分解情况；如同一科目同时编列省级财政专项资金和其他来源资金的，请分别说明。</p>
            <p style=" padding-left: 20px;">1.设备费（单台套10万元以下的设备费不用填写明细；购置单台套10万元（含）以上仪器设备应予以说明，包括设备的主要性能指标，主要技术参数和用途，对项目研究的</p>
            <p>作用；购置单台套30万元（含）以上的仪器设备，还需重点说明购买的必要性、数量的合理性、拟开设共享范围等。）</p>
            <p style=" padding-left: 20px;">2.材料费、测试化验加工费、燃料动力费、出版/文献/信息传播/知识产权事务费 (预算10万元（含）以上的单一品种的材料费、单次或单批测试化验加工、单项燃料动力费以</p>
            <p>及单价10万元（含）以上的资料、专用软件以及定制软件等进行重点说明，包括测算方法、测算依据等。其他简要说明，无需提供明细。）</p>
            <p style=" padding-left: 20px;">（1）材料费</p>
            <p style=" padding-left: 20px;">（2）测试化验加工费</p>
            <p style=" padding-left: 20px;">（3）燃料动力费</p>
            <p style=" padding-left: 20px;">（4）出版/文献/信息传播/知识产权事务费</p>
            <p style=" padding-left: 20px;">3.劳务费、专家咨询费、会议/差旅/国际合作交流费、其他支出(其中：会议费/差旅费/国际合作交流费预算不超过直接费用15%的，无需提供预算测算依据；超过15%的，按</p>
            <p>照会议、差旅、国际合作交流分类提供必要的测算依据，无需对每次会议、差旅做单独的测算和说明。其他分类简要说明，无需提供明细。）</p>
            <p style=" padding-left: 20px;">（1）劳务费</p>
            <p style=" padding-left: 20px;">（2）专家咨询费</p>
            <p style=" padding-left: 20px;"> （3）会议/差旅/国际合作交流费</p>
            <p style=" padding-left: 20px;">（4）其他支出</p>
        </td>--%>
           <td style="width:100%;">
               <p >根据《安徽省重点研究与开发计划资金管理办法》(财教〔2016〕2150号)、《关于优化省重点研究与开发计划、省科技重大专项、省自然科学基金资助项目等科研资金管理的通知》（皖财教〔2019〕839号）等有关规定和要求，参照项目经费预算申报内容，对本项目直接费用进行说明，间接费用无需说明；按照项目资金支出进行说明，不需要按照合作单位分别说明，项目承担单位与合作单位应协商确定本项目各科目预算的分解情况；如同一科目同时编列省级财政专项资金和其他来源资金的，请分别说明。</p>
               <p >1.设备费（单台套10万元以下的设备费不用填写明细；购置单台套10万元（含）以上仪器设备应予以说明，包括设备的主要性能指标，主要技术参数和用途，对项目研究的作用；购置单台套30万元（含）以上的仪器设备，还需重点说明购买的必要性、数量的合理性、拟开设共享范围等。）</p>
               <p >2.材料费、测试化验加工费、燃料动力费、出版/文献/信息传播/知识产权事务费 (预算10万元（含）以上的单一品种的材料费、单次或单批测试化验加工、单项燃料动力费以及单价10万元（含）以上的资料、专用软件以及定制软件等进行重点说明，包括测算方法、测算依据等。其他简要说明，无需提供明细。）</p>
               <p >（1）材料费</p>
               <p >（2）测试化验加工费</p>
               <p >（3）燃料动力费</p>
               <p >（4）出版/文献/信息传播/知识产权事务费</p>
               <p >3.劳务费、专家咨询费、会议/差旅/国际合作交流费、其他支出(其中：会议费/差旅费/国际合作交流费预算不超过直接费用15%的，无需提供预算测算依据；超过15%的，按照会议、差旅、国际合作交流分类提供必要的测算依据，无需对每次会议、差旅做单独的测算和说明。其他分类简要说明，无需提供明细。）</p>
               <p >（1）劳务费</p>
               <p >（2）专家咨询费</p>
               <p >（3）会议/差旅/国际合作交流费</p>
               <p >（4）其他支出</p>
           </td>
    </tr>
    <tr>
        <td colspan="4">
            <textarea name="project/budget_description" style="width:98%" class="input_textarea required maxlength:2000" label="预算说明" rows=5 cols=60><x:out select="$xmlData/data/project/budget_description" /></textarea>
            <input type="hidden" name="project/budget_description_hidden" id="project/budget_description_hidden" value="<x:out select="$xmlData/data/project/budget_description_hidden" />"/>
        </td>
    </tr>
</table>


<%-- <table  id="tblMileStones1" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
        <tr>
            <td width="45%">特别说明：（购置主要仪器设备须列出清单,以附件形式上传，上传文件格式为PDF格式） </td>

            <td  width="55%" align="center" style="WORD-WRAP: break-word">
                <c:set var="file_code"><x:out select="$xmlData/data/content/file_code" /></c:set>
                <div id="proof_content1" style=" float:left; width: 400px;"  >       <c:if test="${empty file_code }">display:none;</c:if>
                    <div  id="proof_file1" style="<c:if test="${empty file_code}">display:none;</c:if>">
                        <input type="hidden" id="file_code1" name="content/file_code" class="required" label="备注-->产学研合作的项目请附产学研合作协议" value="<x:out select="$xmlData/data/content/file_code" />" />
                        <a id="file_url1" class="link_x" href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code" />" style="cursor: pointer;"> <span name="content/file_name" id="file_name1" style="color: blue;"><x:out select="$xmlData/data/content/file_name" /></span></a>
                        (上传时间<span name="content/file_date" id="file_date1"><iris:xout select="$xmlData/data/content/file_date" /></span>)
                        <a href="###" class="link_x" id="sy_delConent1" onclick="delContent_1('proof_file1',1)">删除</a>
                    </div>
                </div>
                <input id="file1" type="file" name="filedata" />
            </td>
            <!-- <td width="20%" align="center">
            </td> -->
        </tr>
    </table> --%>

<script type="text/javascript">
    $(function(){
        changeCss();
        fileInit_1("tblMileStones1","PDF",null,"{'PDF':'20480'}");
        $("#tblMileStones1").find(".file").hide();

    });
    function changeCss() {
       /* $("table.t_css").each(function(){
            $(this).find("tr:even").removeClass().addClass("li_1");
            $(this).find("tr:odd").removeClass().addClass("li_2");
        });*/
        changeCss1("fundInfo","tblMileStones1");
    }
    function changeCss1(id1,id2) {
        if($("#"+id1+" tr:last").attr("class")=="li_1"){
            $("#"+id2+" tr").removeClass("li_1").addClass("li_2");
        }else{
            $("#"+id2+" tr").removeClass("li_2").addClass("li_1");
        }
    }



    function uploadfile(index,i){
        if(2==index){
            $("#proof_file_data").click();

        }
        else
            $("#card_file").click();
    }
    /* function show(index){
        $("#kepu").find("#proof_file"+index).show();
    } */
    function fileInit_1(tableId, type, width, validateJson) {
        var imgres="";

        if(locale=="en_US"){
            imgres="Upload_EN.gif";

        }else{
            imgres="Upload_2.gif";

        }
        $("#" + tableId).find(":file").filestyle({
            image : res + "/images/"+imgres,
            imageheight : 25,
            imagewidth : 56,
            width : width
        });
        $("#" + tableId).find(":file").not("#filedata\\[0\\]").each(function(i) {
            $(this).change(function() {
                var str = $(this).attr("id");
                var index = str.charAt(str.length - 1);
                showFileName_1($(this), tableId, type, validateJson,index);
            });
        });
    }

    function showFileName_1(obj, tableId, type, validateJson,index) {
        var max = null;
        var fileTblId=null;// 文件列表的表格id

        fileTblId=tableId;
        var filedata = obj.val();
        if (filedata == '')
            return;
        else if(max!=null && $.isNumeric(max) && fileTblId!=null && $("#"+fileTblId+" tr:gt(1)").length>=max){
            var label="";
            if($("#"+fileTblId).attr("label")!=null)
                label=$("#"+fileTblId).attr("label");

            scmWarn(label+messageTip.canNotUploadMoreThan+max+messageTip.files1);
            return;
        } else {
            var fileName = filedata.substring(filedata.replace(/\\/g, '/')
                .lastIndexOf('/') + 1);
            var end = fileName.substring(fileName.lastIndexOf(".") + 1,
                fileName.length).toUpperCase();
            if (type.indexOf(end) < 0) {
                scmWarn(messageTip.pleaseUpload + type + messageTip.files2, "100px");
                return;
            }
        }

        $("#" + tableId + " .file").val(fileName);
        ajaxFileUpload_1(obj,"orgattach", tableId, type, max, validateJson,index);
    }

    function ajaxFileUpload_1(obj,type, tblId, filetype, max, validateJson,index) {
        irisAjaxFileUpload_1(obj,type, tblId, filetype, max, validateJson,index);
    }

    function uploadSuccess_1(obj,data, tableId, filetype,index){
        $("#"+tableId).find("#file_code"+index).val(data[data.length-1].fileCode);
        $("#"+tableId).find("#file_name"+index).text(data[data.length-1].fileName);
        $("#"+tableId).find("#file_url"+index).attr("href", downloadPath + data[data.length-1].fileCode);
        $("#proof_file"+index).show();
        $("#sy_delConent"+index).show();

        /*              var fileDate = $("#" + tableId).find("span[id='file_date'"+index+"]");// 上传时间对象
        */
        var fileDate = $("#" + tableId).find("#file_date"+index);// 上传时间对象
        var nowTime = showLocale(new Date());
        fileDate.text(nowTime);
        $("#"+tableId).find("#"+index).show();
    }

    function irisAjaxFileUpload_1(obj,type, tableId, fileType, max, validateJson,index) {
        if (type == null || type == '') {
            scmWarn(messageTip.pleaseEnterTypeOfAttachment);
            return;
        }
        $("#"+tableId+" input[type='file']").not(obj).each(function(){
            this.outerHTML=this.outerHTML.replace(/(value=\").+\"/i,"$1\"");
        });


        prcWin.openWin();// 打开遮罩层
        $.ajaxFileUpload({
            url : ctx + '/file/ajax-fileupload',// 请求地址
            secureuri : false,// 一般设置为false
            fileElementId : 'filedata',// 文件的id属性
            limitSize : '10',// 允许上传的文件大小,单位M
            allowType : '',// 允许上传的文件类型.
            data : {
                'type' : type,
                'validateJson':validateJson
            },
            tableId : tableId,// tableID
            dataType : 'json',// 返回值类型
            success : function(data, status) // 服务器成功响应处理函数
            {
                if (data.result == 'error') {
                    scmWarn(data.msg);
                } else {

                    uploadSuccess_1(obj,data, tableId, fileType,index);


                    $("#"+tableId).find(":file").not("#filedata\\[0\\]").each(function(i) {
                        fileType="JPG，PNG，DOC，WPS，DOCX，PDF，XLS，XLSX，TIFF，RAR";
                        validateJson="{'JPG':'20480','PNG':'20480','DOC':'20480','WPS':'20480','DOCX':'20480','PDF':'20480','XLS':'20480','XLSX':'20480','TIFF':'20480','RAR':'20480'}";
                        $(this).unbind("change");
                        $(this).change(function() {
                            var str = $(this).attr("id");
                            var index = str.charAt(str.length - 1);
                            showFileName_1($(this), tableId, fileType, validateJson,index);
                        });
                    });
                }
                prcWin.closeWin();// 关闭遮罩层
            },
            error : function(data, status, e)// 服务器响应失败处理函数
            {
                $("#"+tableId+" input[type='file']").each(function(j) {
                    this.outerHTML=this.outerHTML.replace(/(value=\").+\"/i,"$1\"");
                });


                $("#"+tableId).find(":file").not("#filedata\\[0\\]").each(function(i) {
                    fileType="JPG，PNG，DOC，WPS，DOCX，PDF，XLS，XLSX，TIFF，RAR";
                    validateJson="{'JPG':'20480','PNG':'20480','DOC':'20480','WPS':'20480','DOCX':'20480','PDF':'20480','XLS':'20480','XLSX':'20480','TIFF':'20480','RAR':'20480'}";
                    $(this).unbind("change");
                    $(this).change(function() {
                        showFileName_1($(this), "mainGoodsInfo", fileType, validateJson,index);
                    });
                });
                if (data && data.responseText && data.responseText.indexOf('413') > -1) {
				scmError("上传的文件超过限制大小！");
			} else {
				scmError(status);
			}
                prcWin.closeWin();// 关闭遮罩层
            },
            complete:function()
            {
                prcWin.closeWin();// 关闭遮罩层
            }
        });

    }
    function countFundAuto(idStart, countStr, totalStr) {
        var indexs = countStr.split(",");
        var count = 0;
        for ( var i = 0; i < indexs.length; i++) {
            var fund = $("#" + idStart + indexs[i]).val();
            if (!$.isNumeric(fund))
                fund = "0";
            count = ((parseFloat(count)*10000 + parseFloat(fund)*10000)/10000).toFixed(2);
            /*count = ((parseFloat(count)*100 + parseFloat(fund)*100)/100).toFixed(2);*/
            /*count = parseFloat(count) + parseFloat(fund);*/

        }


        count = formatNumberAuto(count.toString(), 9, 2, 2);// 格式化金额

        //add by cg 扩展：对于多个输入框所求得的和，同时赋给某几个文本框
        var totalStrArr = totalStr.split(",");
        var totalId;
        for(var i = 0;i < totalStrArr.length; i++ ) {
            totalId = totalStrArr[i];

            $("#" + idStart + totalId).val(count);
        }
    }

    function delContent_1(tableId,index) {
        if (confirm("你确定要删除该附件？")) {
            /* $("#" + tableId).find("input[id='file_code']").val("");// 清空文件名
            $("#" + tableId).find("span[id='file_date']").text("");// 清空文件code
            $("#" + tableId).find("span[id='file_name']").text("");// 清空文件上传日期
            $("#"+tableId).find("#proof_content").hide(); */

            $("#" + tableId).find("#file_code"+index).val("");// 清空文件名
            $("#" + tableId).find("#file_date"+index).text("");// 清空文件code
            $("#" + tableId).find("#file_name"+index).text("");// 清空文件上传日期
            $("#"+tableId).find("#proof_content"+index).hide();

            $("#sy_delConent"+index).hide();
            $("#file"+index).val("");
            $("#proof_file"+index).hide();

            /* $("#" + tableId).find("#proof_file"+index).hide(); */

        }
    }
    /**
     * 数字显示函数，适用于可输入四位小数或二位少数
     * number:值
     * maxIntLength:整数部分最大长度,
     * maxDecimalLength:小数部分最大长度,
     * displayDecimal:小数部分显示出的长度
     */
    function formatNumberAuto(number,maxIntLength,maxDecimalLength,displayDecimal) {
        if(number.indexOf(".") !=number.lastIndexOf(".")){
            number = number.substring(0,number.lastIndexOf("."))+ ''+ number.substring(number.lastIndexOf(".")+1);
        }
        if(number.indexOf(".")>=0){//如果是输入值中带有小数点则检查小数部分长度是否达到了最低显示的长度，如果没有则补0
            var integral="";
            var decimal="";
            if (number.indexOf(".")==0&&number.length>1){
                integral="0";
                decimal=number.substring(1,number.length);
            }else if (number.indexOf(".")>0){
                integral=number.substring(0,number.indexOf("."));
                decimal=number.substring(number.indexOf(".")+1,number.length);
            }
            var f=decimal.substring(displayDecimal,maxDecimalLength);
            //小数四位，如果后两位为00，就去掉
            if(f=="00"){
                decimal=decimal.substring(0, displayDecimal);
            }else{
                decimal=decimal.substring(0, maxDecimalLength);
            }
            number=integral+"."+decimal;
        }else if (number!=""&&displayDecimal>0){//输入的是整数则补上小数部分，全部为0
            number=number+".";
            for (var i=0;i<displayDecimal;i++){
                number=number+"0";
            }
        }
        return number;
    };

</script>